package cn.colins.raft.rpc.session;

import cn.colins.raft.ResourceLifeCycle;

import java.util.concurrent.TimeUnit;

/**
 * @program: easy-rpc
 * @description:
 * @author: colins
 * @create: 2023-06-13 22:42
 **/
public interface RpcSession<R,T>{


    <R> R syncSend();

    <R> R syncSend(long timeout);

    void asyncSend();


}
